<div class="content">
    <div class="checkinfo cenConBo">
        <div class="bonobg" ng-repeat="ut in unitBTyps">
            <p class="tabtitle">
                <label>{{ut.dictionary_name}}</label>：
                <span title="全选" class="select-box" ng-click="selectAll($event,0)">全选</span>
                <span title="反选" class="select-box" ng-click="selectOpposite($event,0)">反选</span>
            </p>
            <div class="checkcon">
                <div title="{{type.name}}" class="select-box" ng-repeat="type in unitLTyps | filter:{btype_pk:ut.dictionary_pk}">
                    <p>
                        {{type.dictionary_name}}
                        <i title="全选" class="select-box" ng-click="selectAll($event,1)">全选</i>
                        <i title="反选" class="select-box" ng-click="selectOpposite($event,1)">反选</i>
                    </p>
                    <div>
                    <span id="{{unit.id}}" title="{{unit.name}}" ng-click="setUnit($event)" ng-repeat="unit in unitList | filter:{fk_dictionary_school_type:type.dictionary_pk} | filter:{fk_dictionary_ascertained:ut.dictionary_pk}" >
                        <i id="{{type.id}}" class="iconfont icon-correct"></i>{{unit.name}}
                        <input type="hidden" name="unit-{{unit.id}}" value="{{unit.id}}" />
                    </span>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button ng-click="back()" type="button" class="btn btn-secondary"><i class="iconfont icon-back"></i>&nbsp;返回</button>
        <button ng-click="saveForm()" type="button" class="btn btn-success"><i class="iconfont icon-correct"></i>&nbsp;保存</button>
    </div>
</div>